import {configureStore} from '@reduxjs/toolkit';
import balanceSlice from "./slices/balanceSlice";
import orderSlice from "./slices/orderSlice";

const store = configureStore({
    reducer:{
        //余额：reducer
        balance:balanceSlice,
        order:orderSlice
        //订单：reducer
    },
    middleware:getDefaultMiddleware => getDefaultMiddleware({
        serializableCheck: false
    })
})
export default store;
